<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" />
<head>
<meta name="keywords" content="报考,报考系统,网上报考" />
<meta name="description" content="网上报考系统" />
<title>网上报考系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="__ROOT__/css/style.css" />
<link rel="stylesheet" type="text/css" href="__ROOT__/css/skin.css" />
<script type="text/javascript" src="__ROOT__/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo U('Home-js/url');?>"></script>
</head>
<body>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="__ROOT__/images/admin_login/mail_leftbg.gif"><img src="__ROOT__/images/admin_login/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="__ROOT__/images/admin_login/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">管理界面</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="__ROOT__/images/admin_login/mail_rightbg.gif"><img src="__ROOT__/images/admin_login/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="__ROOT__/images/admin_login/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
        
<script type="text/javascript">
    $(function(){
        $('#huoqu').click(function(){
            tiaozhuan();
        });

        $('#select_pc').change(function(){
            tiaozhuan();
        });

        function tiaozhuan(){
            var pc_id=$('#select_pc').val();
            location.href="__APP__?g=Lfy&m=report&a=hege_report&id="+pc_id;
        }


        $('#pop').ajaxStart(function(){
            $('#pop').html('<img src="__ROOT__/images/loading.gif" border="0"><font color="red">数据请求中...请稍后...</font>');
        });
    });
</script>
<div style="margin-top: 30px;margin-left: 20px;">
    <b>各批次合格报表：</b><br /><br />
    <span id="pop" style="color:red;"></span>
    <select id="select_pc">
        <option value="0" <?php if($pc_id==0){echo 'selected="selected"';}?>>请选择批次</option>
        <option value="0.1" <?php if($pc_id==0.1){echo 'selected="selected"';}?>>全部</option>
        <?php if(is_array($pc_list)): foreach($pc_list as $key=>$pc): ?><option value="<?php echo ($pc["pc_id"]); ?>" <?php if($pc_id==$pc['pc_id']) echo 'selected="selected"';?>><?php echo ($pc["pc_name"]); ?></option><?php endforeach; endif; ?>
    </select>&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" id="huoqu" value="手动获取" />
    <br />
    <br />
    <table width="900px" border="1" cellpadding="0" cellspacing="0" align="left" style="border-collapse:collapse" bordercolor="#000000">
        <tr>
            <td width="10%" align="center">学号</td>
            <td width="10%" align="center">姓名</td>
            <td width="5%" align="center">性别</td>
            <td width="10%" align="center">系别</td>
            <td width="16%" align="center">专业班级</td>
            <td width="8%" align="center">入学时间</td>
            <td width="16%" align="center">报考的批次</td>
            <td width="15%" align="center">考试时间</td>
            <td width="10%" align="center">分数</td>
        </tr>
        <?php if(is_array($stu_list)): foreach($stu_list as $key=>$stu): ?><tr>
                <td width="10%" align="center"><?php echo ($stu["stu_no"]); ?></td>
                <td width="10%" align="center"><?php echo ($stu["stu_name"]); ?></td>
                <td width="5%" align="center"><?php echo ($stu["stu_sex"]); ?></td>
                <td width="10%" align="center"><?php echo ($stu["depart_name"]); ?></td>
                <td width="16%" align="center"><?php echo ($stu["stu_class"]); ?></td>
                <td width="8%" align="center"><?php echo ($stu["stu_join"]); ?></td>
                <td width="16%" align="center"><?php echo ($stu["pc_name"]); ?></td>
                <td width="15%" align="center"><?php echo ($stu["pc_time"]); ?></td>
                <td width="10%" align="center"><?php echo ($stu["hg_num"]); ?></td>
            </tr><?php endforeach; endif; ?>
        <tr>
            <td width="100%" align="right" colspan="9" style="color:red;">共计【<?php echo ($stu_num); ?>】人
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
        </tr>
    </table>
    <br /><br />
    
</div>

<div class="banquan">
        <br />
        <br />
    Copyright&nbsp;&reg;&nbsp;2010-2011&nbsp;<a href="http://www.cn-024.cn" target="_blank">沈阳枫叶网络工作室</a> ALL RIGHTS RESERVED
    </div>

    </td>
    <td background="__ROOT__/images/admin_login/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="__ROOT__/images/admin_login/mail_leftbg.gif"><img src="__ROOT__/images/admin_login/buttom_left2.gif" width="17" height="17" /></td>
    <td background="__ROOT__/images/admin_login/buttom_bgs.gif"><img src="__ROOT__/images/admin_login/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="__ROOT__/images/admin_login/mail_rightbg.gif"><img src="__ROOT__/images/admin_login/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>
</html>